package com.epoch.servicecourse.dao;

import com.epoch.servicecourse.bean.Consumer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


/**
 * @Description consumer dao
 * @author Seven
 * @date 2021/12/10
 */
@Mapper
@Repository
public interface ConsumerDao {

    /**
     * search consumer by id
     * @param csId
     * @return consumer
     */
    Consumer getById(@Param("csId") String csId);


    Consumer getCsById(@Param("id") Integer id);

}
